package com.wing.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.order.model.entity.OrderReceiveLabel;
import com.wing.order.model.request.OrderReceiveLabelForm;
import com.wing.order.model.response.OrderReceiveLabelVO;

import java.util.List;
import java.util.Map;

/**
 * 领货单明细-Service
 *
 * @author
 */
public interface OrderReceiveLabelService extends IService<OrderReceiveLabel> {

    /**
     * 添加
     *
     * @param orderReceiveLabelForm
     * @return
     */
    int add(OrderReceiveLabelForm orderReceiveLabelForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<OrderReceiveLabelVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<OrderReceiveLabelVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    OrderReceiveLabelVO get4appById(Long id);

    void receiveSubmit(List<OrderReceiveLabel> list);
}
